package com.why.cachecloud.web.service.impl;

import com.why.cachecloud.dao.CommandLogDao;
import com.why.cachecloud.entity.CommandLog;
import com.why.cachecloud.web.service.CommandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 命令执行日志
 */
@Service
public class CommandServiceImpl implements CommandService {

    @Autowired
    private CommandLogDao commandLogDao;

    @Override
    public List<CommandLog> getList(CommandLog log) {
        return commandLogDao.select(log);
    }
}
